package com.pro.back.dao;

import com.pro.back.bean.Borrow;
import com.pro.back.bean.BorrowExample;
import java.util.List;

import com.pro.back.bean.bo.BorrowBO;
import com.pro.back.bean.po.BorrowPO;
import org.apache.ibatis.annotations.Param;

public interface BorrowMapper {
    long countByExample(BorrowExample example);

    int deleteByExample(BorrowExample example);

    int deleteByPrimaryKey(Long id);

    int insert(Borrow record);

    int insertSelective(Borrow record);

    List<Borrow> selectByExample(BorrowExample example);

    Borrow selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") Borrow record, @Param("example") BorrowExample example);

    int updateByExample(@Param("record") Borrow record, @Param("example") BorrowExample example);

    int updateByPrimaryKeySelective(Borrow record);

    int updateByPrimaryKey(Borrow record);

    List<BorrowBO> selectAllBorrow(BorrowPO po) ;
}